\select@language {portuguese}
\contentsline {section}{\numberline {1}Introdu\IeC {\c c}\IeC {\~a}o}{4}
\contentsline {subsection}{\numberline {1.1}Motiva\IeC {\c c}\IeC {\~a}o}{4}
\contentsline {subsection}{\numberline {1.2}Objectivos}{4}
\contentsline {subsection}{\numberline {1.3}Estrutura do relat\IeC {\'o}rio}{4}
\contentsline {section}{\numberline {2}Descri\IeC {\c c}\IeC {\~a}o do Problema}{4}
\contentsline {subsection}{\numberline {2.1}Introdu\IeC {\c c}\IeC {\~a}o}{4}
\contentsline {subsection}{\numberline {2.2}Regras do jogo}{4}
\contentsline {subsection}{\numberline {2.3}Tipos de pe\IeC {\c c}as}{4}
\contentsline {subsubsection}{\numberline {2.3.1}Soldados}{4}
\contentsline {subsubsection}{\numberline {2.3.2}Canh\IeC {\~o}es}{5}
\contentsline {subsubsection}{\numberline {2.3.3}Cidades}{6}
\contentsline {section}{\numberline {3}Arquitectura do Sistema}{6}
\contentsline {subsection}{\numberline {3.1}Impress\IeC {\~a}o do tabuleiro}{6}
\contentsline {subsection}{\numberline {3.2}L\IeC {\'o}gica do jogo}{6}
\contentsline {subsection}{\numberline {3.3}Visualiza\IeC {\c c}\IeC {\~a}o em OpenGL}{6}
\contentsline {subsubsection}{\numberline {3.3.1}Servidor}{6}
\contentsline {section}{\numberline {4}M\IeC {\'o}dulo de L\IeC {\'o}gica do Jogo}{7}
\contentsline {subsection}{\numberline {4.1}Representa\IeC {\c c}\IeC {\~a}o do Estado do Jogo}{7}
\contentsline {subsection}{\numberline {4.2}Visualiza\IeC {\c c}\IeC {\~a}o do Estado do Jogo}{7}
\contentsline {subsection}{\numberline {4.3}Valida\IeC {\c c}\IeC {\~a}o do input}{8}
\contentsline {subsection}{\numberline {4.4}Valida\IeC {\c c}\IeC {\~a}o de Jogadas}{8}
\contentsline {subsection}{\numberline {4.5} Verifica\IeC {\c c}\IeC {\~a}o de movimentos }{8}
\contentsline {subsubsection}{\numberline {4.5.1} \textit {Soldados} }{8}
\contentsline {subsubsection}{\numberline {4.5.2} \textit {Canh\IeC {\~o}es} }{8}
\contentsline {subsection}{\numberline {4.6}Execu\IeC {\c c}\IeC {\~a}o de Jogadas}{9}
\contentsline {subsection}{\numberline {4.7}Final do Jogo}{9}
\contentsline {subsection}{\numberline {4.8}Predicados Auxiliares}{9}
\contentsline {subsubsection}{\numberline {4.8.1} {\fontencoding {OT1}\fontfamily {pcr}\selectfont Rotate\_Board}}{9}
\contentsline {subsubsection}{\numberline {4.8.2} {\fontencoding {OT1}\fontfamily {pcr}\selectfont Insert\_Piece}}{9}
\contentsline {section}{\numberline {5}Conclus\IeC {\~o}es e Perspectivas de Desenvolvimento}{9}
\contentsline {subsection}{\numberline {5.1}Percentagem de trabalho concluido}{9}
\contentsline {subsection}{\numberline {5.2}Conclus\IeC {\~o}es}{10}
